package javaFX;

import javafx.application.Application;
import javafx.scene.image.Image;
import javafx.stage.Stage;

import java.util.LinkedHashMap;
import java.util.Map;

public class Test extends Application {
    public static void main(String[] args) {
        launch(args);
    }


    @Override
    public void start(Stage primaryStage) throws Exception {
        primaryStage.show();
        primaryStage.setTitle("标题");
        primaryStage.getIcons().add(new Image("urls"));
        primaryStage.setIconified(true);
        primaryStage.setMaximized(true);
        primaryStage.close();
        primaryStage.setResizable(false);
        primaryStage.setWidth(200);
        primaryStage.setMaxHeight(233);
        primaryStage.setMinWidth(233);

    }
}

